BenSelect Documentation
Forms - Status Scripting
Send Feedback
JScript Examples > JScript for Field Mapping > Forms - Status Scripting

Glossary Item Box

The following script returns STD_ACD status:

if (Event.Fields['Engine.STD.EmployeeInsured.ACDStatus'] != null) {

    if (Event.Fields['Engine.STD.EmployeeInsured.ACDStatus'] == 1)

        Event.Fields['STD_ACD_Status'] = "A";

    if (Event.Fields['Engine.STD.EmployeeInsured.ACDStatus'] == 2)

        Event.Fields['STD_ACD_Status'] = "C";

    if (Event.Fields['Engine.STD.EmployeeInsured.ACDStatus'] == 3)

        Event.Fields['STD_ACD_Status'] = "D";

}

©2024. All Rights Reserved.